
import {Component} from 'react'
import myImg from '../imgs/1.jpg'
//import Mouse from './mouse'

class Two extends Component{

    render(){
        return(
            <>
           <img src={myImg} style={{
                position:"absolute",
                top:this.props.y-97,
                left:this.props.x-70
           }}></img>
             
           {/* <Mouse render={({x,y})=>{
             return <img src={myImg} style={{
                 position:"absolute",
                 top:y-97,
                 left:x-70
             }}></img>
           }}></Mouse>  */} 
           </>  
        )
    }

}

export default Two;
